Owen Taylor [Thu, 14 Sep 2000 16:39:16 +0000 (16:39 +0000)]
Updates for new functions
Thu Sep 14 12:38:33 2000 Owen Taylor <otaylor@redhat.com>
* docs/reference/gdk/: Updates for new functions
* docs/reference/gdk/tmpl/gtkclipboard.sgml
docs/reference/gdk/tmpl/gtkselection.sgml: Updates
and new information.
Seán Ó Ceallaigh/Irish translations [Sat, 9 Sep 2000 03:07:24 +0000 (03:07 +0000)]
Update to translations.
Jonathan Blandford [Fri, 8 Sep 2000 23:29:46 +0000 (23:29 +0000)]
gtk/gtktextdisplay.c gtk/gtktextlayout.c gtk/gtktexttag.c gtk/gtktexttag.h
2000-09-08 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktextdisplay.c
* gtk/gtktextlayout.c
* gtk/gtktexttag.c
* gtk/gtktexttag.h
* gtk/testtext.c: Change the overstrike property to strikethrough,
to closer match pango.
Owen Taylor [Fri, 8 Sep 2000 18:33:03 +0000 (18:33 +0000)]
Fix up visibility so that focus, cursor_visible and blink interact
Fri Sep 8 14:28:00 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c: Fix up visibility so that focus,
cursor_visible and blink interact properly. Reenable cursor blink
which had been roughly disabled. Make blink and focus
properly per-view.
* gtk/gtktextlayout.[ch] (gtk_text_layout_set_cursor_visible):
Add a flag for whether to display insertion cursor and
a function to set the flag.
* gtk/gtktextlayout.c (gtk_text_layout_get_line_yrange): Change
get_line_y() to get_line_yrange(), to be a bit more generally
useful.
George Lebl [Fri, 8 Sep 2000 01:53:46 +0000 (01:53 +0000)]
in gtk_menu_set_submenu_navigation_region do stop_navigating_submenu, to
Thu Sep 07 20:54:33 2000 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c: in gtk_menu_set_submenu_navigation_region
do stop_navigating_submenu, to clear last timeout properly.
Also in gtk_menu_motion_notify move ignore_enter above
the conditional to make it always happen as suggested by Owen
Tor Lillqvist [Thu, 7 Sep 2000 19:55:36 +0000 (19:55 +0000)]
Oops, cut&paste error.
Tor Lillqvist [Thu, 7 Sep 2000 19:51:32 +0000 (19:51 +0000)]
Use -Wall. Add gdkpango-win32.o
2000-09-07 Tor Lillqvist <tml@iki.fi>
* gdk/win32/makefile.mingw.in: Use -Wall. Add gdkpango-win32.o
* gdk/win32/gdkwin32.h: Add more definitions missing from the free
w32api headers.
* gdk/win32/gdkprivate-win32.h: Add a couple of missing
declarations.
* gdk/win32/gdkdrawable-win32.c: Remove gcc -Wall warnings.
(gdk_win32_get_colormap): A line had been deleted by mistake.
* gdk/win32/gdkevents-win32.c: Remove lint (gcc -Wall) here, too.
(gdk_event_translate): Handle more virtual keycodes to be able to
generate GDK events for Control-comma, Control-period, etc.
* gtk/gtk.def: Add some missing entry points.
2000-09-07 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Use own version number for gdk-pixbuf DLLs,
like on Unix.
Owen Taylor [Thu, 7 Sep 2000 18:18:04 +0000 (18:18 +0000)]
add some new files for new sections of docs
Owen Taylor [Thu, 7 Sep 2000 18:17:06 +0000 (18:17 +0000)]
Move gtk-reference files into GTK+ tree proper.
Thu Sep 7 14:15:03 2000 Owen Taylor <otaylor@redhat.com>
* gdk/* gtk/*: Move gtk-reference files into GTK+ tree proper.
* Update sections.txt files to correspond to current code,
tweak .sgml files and Makefiles to correspond.
* gtk/tmpl/gtkradiomenuitem.sgml (this): Remove extra <para>
Owen Taylor [Thu, 7 Sep 2000 18:07:59 +0000 (18:07 +0000)]
Doc comment fixing. (Mostly non-matching parameter names.)
Thu Sep 7 11:47:02 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextbuffer.c gtk/gtkimcontext.c gtk/gtkwidget.c:
Doc comment fixing. (Mostly non-matching parameter names.)
* gtk/gtkcalendar.c gtk/gtklist.c gtk/gtknotebook.c: Modify
comments a little to avoid looking like a doc comment.
* gtk/gtkspinbutton.h (GTK_INPUT_ERROR): Change INPUT_ERROR to
GTK_INPUT_ERROR. (Should the mechanism for erros in spin button
conversions be changed to GError?)
* gtk/gtkcolorsel.c (GTK_CUSTOM_PALETTE_WIDTH/HEIGHT):
Move private #defines into .c file.
* gtk/gtktexttag.c (gtk_text_tag_class_init): Alphabetize
order of argument addition, remove duplicates.
* gtk/gtkaspectframe.h (struct _GtkAspectFrameClass):
parent class is FrameClass, not BinClass.
* gtk/gtk.h: Add gtkinvisible, which was missing.
(It's occasionalyl useful for client apps, if seldom.)
* gdk/gdktypes.h: Remove obsolete GDK_CORE_POINTER
#define.
Sebastian Wilhelmi [Tue, 5 Sep 2000 14:07:55 +0000 (14:07 +0000)]
Remove conftest* after use along the lines of AC_TRY_COMPILE.
2000-09-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in (use_mmx_asm): Remove conftest* after use along the
lines of AC_TRY_COMPILE.
* .cvsignore updates
Sebastian Wilhelmi [Tue, 5 Sep 2000 12:13:24 +0000 (12:13 +0000)]
Use g_path_get_dirname instead of g_dirname, which is deprecated.
2000-09-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gtk/gtkrc.c (gtk_rc_parse_file): Use g_path_get_dirname instead
of g_dirname, which is deprecated.
(gtk_rc_parse_any): Removed calls to
g_scanner_{freeze,thaw}_symbol_table, which are deprecated.
* gtk/gtkbindings.c (binding_entry_new, binding_entry_destroy):
Removed calls to g_hash_table_{freeze,thaw}, as they are
deprecated now.
* gtk/testtext.c (buffer_pretty_name): Use g_path_get_basename
instead of g_basename.
Elliot Lee [Mon, 4 Sep 2000 20:54:39 +0000 (20:54 +0000)]
Put text after #endif inside a comment to avoid ANSI warning.
* gdk/gdkpixbuf.h: Put text after #endif inside a comment to avoid ANSI warning.
George Lebl [Sun, 3 Sep 2000 05:49:34 +0000 (05:49 +0000)]
Add some documenting comments about GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and
Sun Sep 03 00:47:08 2000 George Lebl <jirka@5z.com>
* gtk/gtkwidget.h: Add some documenting comments about
GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and GTK_RECEIVES_DEFAULT
just as owen said on irc.
* gtk/gtkwindow.c (gtk_window_set_default): Don't blindly
set HAS_DEFAULT. Only set it if there isn't another window
holding it (a focus window which RECEIVES_DEFAULT) and only unset
it if the widget is not the focused window with RECEIVES_DEFAULT.
This fixes weird double default bugs in dialogs which has things
call gtk_window_set_default at times.
Owen Taylor [Sat, 2 Sep 2000 02:43:50 +0000 (02:43 +0000)]
Apply patch from Nils Barth and David Santiago to improve submenu
Fri Sep 1 22:39:07 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.[ch] TODO.xml: Apply patch from
Nils Barth and David Santiago to improve submenu
navigation. The patch does this by creating a triangular
region from the point where the pointer leaves the
menu to the submenu. While the pointer is in
that region and a timeout has not expired, events
that would cause the active submenu to change are
ignored.
Owen Taylor [Fri, 1 Sep 2000 20:10:58 +0000 (20:10 +0000)]
Fix bug where moving a toplevel window immediately after sizing it would
Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
moving a toplevel window immediately after sizing it would
result in it being sized back to the old size since
impl->width, impl->height aren't updated until we hear
back from the server. There is still a (longstanding) bug
here that gdk_window_get_size() will give the wrong size
until we do hear back.
Havoc Pennington [Thu, 31 Aug 2000 17:08:45 +0000 (17:08 +0000)]
Rename GtkTextStyleValues to GtkTextAttributes
2000-08-31 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
gtk/gtktextlayout.c, gtk/gtktexttag.h, gtk/gtktexttag.c,
gtk/gtktexttagprivate.h, gtk/gtktextview.c:
Rename GtkTextStyleValues to GtkTextAttributes
Havoc Pennington [Thu, 31 Aug 2000 04:20:59 +0000 (04:20 +0000)]
cache end line, for rapid testing whether an iterator is the end iterator
2000-08-31 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbtree.c (GtkTextBTree): cache end line,
for rapid testing whether an iterator is the end iterator
(gtk_text_btree_new): init end line cache
(gtk_text_line_is_last): use fast cached line to
see if we're the last line.
(get_last_line): use cached line here too, should
speed up some random unrelated code.
Havoc Pennington [Thu, 31 Aug 2000 03:48:50 +0000 (03:48 +0000)]
Add marshallers for changed GtkTextBuffer signals.
2000-08-30 Havoc Pennington <hp@pobox.com>
* gtk/gtkmarshal.list: Add marshallers for changed GtkTextBuffer
signals.
* gtk/gtktextbuffer.h: Add "interactive" arg to insert_text and
delete_text signals. This allows the signals to be used for
implementing undo.
* gtk/gtktextbuffer.c: Change signal handler signatures;
provide "interactive" argument when emitting insert_text or
delete_text signal.
Havoc Pennington [Thu, 31 Aug 2000 03:23:14 +0000 (03:23 +0000)]
Docs
2000-08-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbuffer.c: Docs
Owen Taylor [Thu, 31 Aug 2000 02:04:54 +0000 (02:04 +0000)]
remove GDK_IMAGE_SHARED_PIXMAP from switch statements, since Tor removed
Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.
* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
Elliot Lee [Wed, 30 Aug 2000 00:33:38 +0000 (00:33 +0000)]
Use G_GNUC_CONST.
Use G_GNUC_CONST.
Havoc Pennington [Mon, 28 Aug 2000 03:44:06 +0000 (03:44 +0000)]
wrote lots of API docs, minor indentation fixes, inserted some FIXME about
2000-08-27 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
minor indentation fixes, inserted some FIXME about stuff I
realized was broken while documenting it.
(gtk_text_iter_get_pixmap): allow out params to be NULL, following
GTK convention
Seán Ó Ceallaigh/Irish translations [Sun, 27 Aug 2000 00:17:24 +0000 (00:17 +0000)]
Update Irish trans.
Elliot Lee [Wed, 23 Aug 2000 00:50:32 +0000 (00:50 +0000)]
Try to fix a bug where a window move, with a non-rectangular region
Try to fix a bug where a window move, with a non-rectangular region unobstructed, would cause
pieces of the window to be moved twice. Effectively, sort of implement a
gdk_draw_drawable_region(drawable, gc, drawable, region, dx, dy);
Am going blind trying to find the off-by-one thing, especially since it doesn't happen except for
the preview tests. Still not fixed, have at it.
Owen Taylor [Tue, 22 Aug 2000 16:34:43 +0000 (16:34 +0000)]
Fix double free of font desc.
Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_styles): Fix double free of
font desc.
Owen Taylor [Tue, 22 Aug 2000 03:30:17 +0000 (03:30 +0000)]
Updated percentages
Owen Taylor [Tue, 22 Aug 2000 03:05:14 +0000 (03:05 +0000)]
Add gtk_widget_modify_{fg,bg,text,base,font}.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.
* gtk/testgtk.c (create_styles): Add a test for modifying
the style through gtk_widget_modify_*.
* gtk/gtkwidget.c (gtk_widget_get_modifier_style): Add
a function to get the current modifier style.
* gtk/gtkwidget.c (gtk_widget_modify_style): Make a copy
of the passed in GtkRcStyle instead of ref'ing it.
* gtk/gtkrc.[ch]: Add gtk_rc_style_copy().
Andraz Tori [Sun, 20 Aug 2000 10:16:05 +0000 (10:16 +0000)]
Updated Slovenian translation
Tor Lillqvist [Sat, 19 Aug 2000 21:46:05 +0000 (21:46 +0000)]
gdk/gdkimage.h No need any longer on Win32 for the shared memory
2000-08-20 Tor Lillqvist <tml@iki.fi>
* gdk/gdkimage.h
* gdk/win32/gdkimage-win32.c: No need any longer on Win32 for the
shared memory image+pixmap GdkImage type, or
gdk_image_bitmap_new(). They were used in the gdk_imlib port, but
I am dropping that.
* gtk/gtkmain.h: On Win32, use a #define to map gtk_init() to
actually call gtk_init_abi_check(), passing also
sizeof(GtkWindow). Ditto for gtk_init_check().
* gtk/gtk.def
* gtk/gtkmain.c: (gtk_init_abi_check, gtk_init_check_abi_check):
New functions, used to check that the GTK+-using code has been
compiled using the correct compiler and switches. In particular,
with gcc one has to use the -fnative-struct switch as GTK+ is
compiled with that.
Owen Taylor [Fri, 18 Aug 2000 21:32:48 +0000 (21:32 +0000)]
Don't leave dangling ->prev fields when merging lists. (Found
Fri Aug 18 17:27:46 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (gtk_clist_merge): Don't leave dangling
->prev fields when merging lists. (Found simultaneously
by Pawel Salek and Jakub Jelinek)
Christopher R. Gabriel [Thu, 17 Aug 2000 16:36:36 +0000 (16:36 +0000)]
updated italian translation
Yuri Syrota [Mon, 14 Aug 2000 14:43:56 +0000 (14:43 +0000)]
Updated Ukrainian translation
Tor Lillqvist [Sat, 12 Aug 2000 19:51:05 +0000 (19:51 +0000)]
gdk/gdk.def Add missing entries.
2000-08-12 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.def
* gtk/gtk.def: Add missing entries.
* gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Use
OUT_TT_ONLY_PRECIS, try to get a TrueType font.
* gdk/win32/gdkinput-win32.c (gdk_device_get_state): New
function. Dummy implementation at this point.
* gtk/makefile.mingw.in: Fix typo. Add testtext and testtextbuffer
rules. Undefine GTK_COMPILATION when compiling the test programs.
* gtk/gtkdebug.h: Mark gtk_debug_flags for export/import.
* gdk_pixbuf.def: Add missing entry point.
Anders Carlsson [Sat, 12 Aug 2000 15:02:17 +0000 (15:02 +0000)]
Make it compile
Tor Lillqvist [Sat, 12 Aug 2000 07:45:56 +0000 (07:45 +0000)]
A few more variables renamed, relating to the "system" charset vs UTF-8
pathname issue. Plug a memory leak.
Tor Lillqvist [Sat, 12 Aug 2000 07:37:27 +0000 (07:37 +0000)]
Improve previous commit a bit, use better variable names.
Tor Lillqvist [Sat, 12 Aug 2000 07:25:55 +0000 (07:25 +0000)]
Add more calls to g_filename_{to,from}_utf8() to convert back and forth
2000-08-11 Tor Lillqvist <tml@iki.fi>
* gtk/gtkfilesel.c: Add more calls to g_filename_{to,from}_utf8()
to convert back and forth from UTF-8 and the "system" (or "current
locale") charset when necessary. Indentation/spacing cleanup.
Havoc Pennington [Fri, 11 Aug 2000 02:58:59 +0000 (02:58 +0000)]
Change the format of the snapshot version to match glib
2000-08-10 Havoc Pennington <hp@redhat.com>
* Makefile.am (snapshot): Change the format of the snapshot
version to match glib
* gdk/win32/Makefile.am (EXTRA_DIST): remove gdkinputprivate.h
from EXTRA_DIST since it doesn't seem to exist
2000-08-10 Havoc Pennington <hp@redhat.com>
* Makefile.am (EXTRA_DIST): The *.def files had the wrong names
(s/pixbuf_/pixbufloader_)
Havoc Pennington [Fri, 11 Aug 2000 02:56:24 +0000 (02:56 +0000)]
some sort of line number changes to .po files that make performed, dunno
Elliot Lee [Wed, 9 Aug 2000 21:53:50 +0000 (21:53 +0000)]
Ref window before returning.
Ref window before returning.
Tor Lillqvist [Wed, 9 Aug 2000 20:54:58 +0000 (20:54 +0000)]
Use the "system codepage" version of the directory name (not the UTF-8
2000-08-10 Tor Lillqvist <tml@iki.fi>
* gtk/gtkfilesel.c (open_new_dir): Use the "system codepage"
version of the directory name (not the UTF-8 one) when building
the path name to stat().
Elliot Lee [Wed, 9 Aug 2000 19:58:10 +0000 (19:58 +0000)]
Make numeric keypad work.
Make numeric keypad work.
Elliot Lee [Wed, 9 Aug 2000 17:26:29 +0000 (17:26 +0000)]
Bugfixorama
Bugfixorama
Elliot Lee [Wed, 9 Aug 2000 17:24:47 +0000 (17:24 +0000)]
Some hacks to stop screen blanking.
Some hacks to stop screen blanking.
Elliot Lee [Wed, 9 Aug 2000 16:12:06 +0000 (16:12 +0000)]
Implement gdk_beep() (woohoo!)
Implement gdk_beep() (woohoo!)
Elliot Lee [Wed, 9 Aug 2000 02:56:13 +0000 (02:56 +0000)]
Fix compiler warnings
Elliot Lee [Wed, 9 Aug 2000 01:36:37 +0000 (01:36 +0000)]
Fix GDK_Left position in table.
Fix GDK_Left position in table.
Elliot Lee [Tue, 8 Aug 2000 16:44:25 +0000 (16:44 +0000)]
At init time, read data from the PS/2 mouse until there's nothing left to
At init time, read data from the PS/2 mouse until there's nothing left to read, in an attempt to
synchronize up with the event stream.
Elliot Lee [Mon, 7 Aug 2000 23:00:38 +0000 (23:00 +0000)]
Handle GDK_INCLUDE_INFERIORS subwindow_mode.
Handle GDK_INCLUDE_INFERIORS subwindow_mode.
Call gobject finalize routine in gdk_gc_finalize.
Unrememberable etcs.
Elliot Lee [Mon, 7 Aug 2000 18:21:18 +0000 (18:21 +0000)]
Store mouse coords as doubles not ints...
Store mouse coords as doubles not ints...
Elliot Lee [Mon, 7 Aug 2000 18:19:43 +0000 (18:19 +0000)]
Works.
Elliot Lee [Mon, 7 Aug 2000 03:31:12 +0000 (03:31 +0000)]
fidmour support, mouse genericization (the file is now quite misnamed, I'm
fidmour support, mouse genericization (the file is now quite misnamed, I'm afraid).
Elliot Lee [Mon, 7 Aug 2000 03:26:05 +0000 (03:26 +0000)]
Warning fixes.
Elliot Lee [Fri, 4 Aug 2000 01:30:54 +0000 (01:30 +0000)]
Implement gdkcc (visually broken, but can be fixed by someone with a clue
Implement gdkcc (visually broken, but can be fixed by someone with a clue w/o problems).
Elliot Lee [Thu, 3 Aug 2000 21:19:04 +0000 (21:19 +0000)]
sync to ps2-less anode
sync to ps2-less anode
Elliot Lee [Thu, 3 Aug 2000 20:43:47 +0000 (20:43 +0000)]
Fix the second bug, draw underlines.
Fix the second bug, draw underlines.
Elliot Lee [Thu, 3 Aug 2000 20:33:38 +0000 (20:33 +0000)]
Bugfix.
Bugfix.
Alastair McKinstry [Thu, 3 Aug 2000 20:29:50 +0000 (20:29 +0000)]
minor update
Elliot Lee [Thu, 3 Aug 2000 20:15:37 +0000 (20:15 +0000)]
Don't draw runs with a PANGO_ATTR_SHAPE set.
* gdk/gdkpango.c (gdk_draw_layout_line): Don't draw runs with a PANGO_ATTR_SHAPE set.
Owen Taylor [Thu, 3 Aug 2000 15:55:27 +0000 (15:55 +0000)]
Add missing file
Owen Taylor [Thu, 3 Aug 2000 13:18:01 +0000 (13:18 +0000)]
Applied patch from Peter Osterlund to simplify the code while keeping the
Thu Aug 3 09:17:06 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkrectangle.c (gdk_rectangle_intersect): Applied patch from
Peter Osterlund to simplify the code while keeping the
functionality the same.
Elliot Lee [Thu, 3 Aug 2000 02:33:46 +0000 (02:33 +0000)]
Set serif font to something sane.
Set serif font to something sane.
Add cursors so it will compile anywhere (hopefully).
Owen Taylor [Wed, 2 Aug 2000 19:07:00 +0000 (19:07 +0000)]
Move is_viewable() test further inside the function, since removing the
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Move
is_viewable() test further inside the function, since removing the
window from the redraw list without clearing ->update_area
was also very broken.
Tor Lillqvist [Tue, 1 Aug 2000 21:43:56 +0000 (21:43 +0000)]
Check for <unistd.h>.
2000-08-02 Tor Lillqvist <tml@iki.fi>
* configure.in: Check for <unistd.h>.
2000-08-02 Tor Lillqvist <tml@iki.fi>
* io-bmp.c
* io-ico.c
* io-ras.c
* io-tiff.c
* io-wbmp.c: Conditionalise inclusion of <unistd.h>.
* makefile.mingw.in: List loaders alphabetically. Add the wbmp
one. Fix names of DLLs to have '-' instead of '_'.
Martin Baulig [Tue, 1 Aug 2000 10:06:53 +0000 (10:06 +0000)]
Use g_message() and not g_warning() to display the message that this is a
2000-08-01 Martin Baulig <baulig@suse.de>
* gtk/gtkmain.c (gtk_init_check): Use g_message() and not g_warning()
to display the message that this is a development version of GTK+.
Elliot Lee [Tue, 1 Aug 2000 00:33:49 +0000 (00:33 +0000)]
Some bug fixes - now tested to work.
* io-wbmp.c: Some bug fixes - now tested to work.
Elliot Lee [Tue, 1 Aug 2000 00:15:02 +0000 (00:15 +0000)]
Add a 'w' in the right spot.
Add a 'w' in the right spot.
Owen Taylor [Mon, 31 Jul 2000 22:59:29 +0000 (22:59 +0000)]
Fix problem where computation was depending on widget->allocation instead
Mon Jul 31 18:37:36 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (entry_adjust_scroll): Fix problem where computation
was depending on widget->allocation instead of the width of text_area,
which was incorrect for subclasses like GtkSpinButton.
* gdk/gdkpango.c (gdk_draw_layout): Fix a couple of typos
with width == 1 tests that should be width == -1.
Owen Taylor [Mon, 31 Jul 2000 20:48:38 +0000 (20:48 +0000)]
Replace broken, (broken, Elliot, every single window blank on X) custom
Mon Jul 31 16:45:48 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
(broken, Elliot, every single window blank on X) custom code with call
to gdk_window_is_viewable() which a) prevents code duplicate and
b) works.
Elliot Lee [Mon, 31 Jul 2000 17:18:36 +0000 (17:18 +0000)]
We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT()
* gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT()
macro to work.
* gtk/gtkmarshal.list: Add NONE:STRING,POINTER
* gdk/gdkwindow.c: Don't send expose events, or invalidate pieces of, windows that aren't shown.
* gdk/linux-fb: Redraw-when-menu-hidden solved, plus a bunch of pointer grab stuff.
BST 2000 Tony Gale [Mon, 31 Jul 2000 13:00:21 +0000 (13:00 +0000)]
s/gtk_main_iteration/g_main_iteration/
Mon Jul 31 13:53:16 BST 2000 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml docs/gtk-faq.sgml:
s/gtk_main_iteration/g_main_iteration/
Did this already in change:
Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
don't know how it got reverted.
Stanislav Brabec [Mon, 31 Jul 2000 10:16:45 +0000 (10:16 +0000)]
#ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and gdk_arg_no_debug_cb to
2000-07-31 Stanislav Brabec <utx@penguin.cz>
* gdk/gdk.c: #ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and
gdk_arg_no_debug_cb to fix compilation problem with --disable-debug.
* gdk/Makefile.am: Link gdk against actually compiled gdk_pixbuf-1.3,
not gdk_pixbuf.
Pablo Saratxaga [Sun, 30 Jul 2000 13:15:52 +0000 (13:15 +0000)]
updated Serbian files
Tor Lillqvist [Sun, 30 Jul 2000 08:11:28 +0000 (08:11 +0000)]
Add makefile.mingw.in to EXTRA_DIST.
2000-07-30 Tor Lillqvist <tml@iki.fi>
* gdk/Makefile.am: Add makefile.mingw.in to EXTRA_DIST.
* gdk/win32/gdkevents-win32.c (gdk_events_init, gdk_events_queue):
Remove the g_pipe_readable_msg stuff. Not needed with new GLib
GIOChannel implementation.
* gdk/win32/gdkinput.c
* gdk/win32/gdkpango-win32.c: Update license name here, too.
* gdk/win32/gdkwin32id.c (gdk_win32_handle_table_lookup): Fix
definition to match prototype.
* gtk/makefile.mingw.in: Add libiconv CFLAGS and LIBS.
Kenneth Christiansen [Fri, 28 Jul 2000 12:06:28 +0000 (12:06 +0000)]
minor fix
Elliot Lee [Fri, 28 Jul 2000 00:16:17 +0000 (00:16 +0000)]
Part 2 of previous commit (aka "it compiles now, ma")
Part 2 of previous commit (aka "it compiles now, ma")
Elliot Lee [Fri, 28 Jul 2000 00:09:36 +0000 (00:09 +0000)]
Add gdk_pixbuf_loader_new_with_type function, to allow handling image
2000-07-27 Elliot Lee <sopwith@redhat.com>
* gtk/gdk-pixbuf-loader.[ch]: Add gdk_pixbuf_loader_new_with_type
function, to allow handling image formats that cannot be detected
by looking at content alone.
gdk-pixbuf/
2000-07-27 Elliot Lee <sopwith@redhat.com>
* gdk-pixbuf-io.h, gdk-pixbuf-io.c: Add gdk_pixbuf_get_named_module() function to facilitate above change
* io-bmp.c: Don't malloc a temporary buffer - use stack instead.
* io-wbmp.c, pixbufloader_wbmp.defs, gdk-pixbuf-io.c, Makefile: Implement loader for WBMP format.
**NOTE: I haven't tested this yet, I need to sync it to another machine, but it if it is broken
I'm already working on fixing it
BST 2000 Tony Gale [Thu, 27 Jul 2000 12:17:17 +0000 (12:17 +0000)]
docs/tutorial/*.gif *.jpg *.eps Update these to the same look-n-feel. Why
Thu Jul 27 13:13:21 BST 2000 Tony Gale <gale@gtk.org>
* docs/tutorial/*.gif *.jpg *.eps
Update these to the same look-n-feel.
Why does including images in DocBook suck so badly?
Kenneth Christiansen [Thu, 27 Jul 2000 12:05:21 +0000 (12:05 +0000)]
i18n stuff
Tim Janik [Thu, 27 Jul 2000 03:13:07 +0000 (03:13 +0000)]
applied patch from Phil Thompson <phil@river-bank.demon.co.uk> that
Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org>
* gtk/gtktable.c: applied patch from Phil Thompson
<phil@river-bank.demon.co.uk> that enables space settings for
the last row/columns as well.
Tim Janik [Wed, 26 Jul 2000 11:33:08 +0000 (11:33 +0000)]
applied patch from Andreas Persenius <ndap@swipnet.se> that updates the
Wed Jul 26 12:59:31 2000 Tim Janik <timj@gtk.org>
* *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
updates the license headers to the GNU Lesser General Public License,
as well as updating the copyright year to 2000.
Robert Brady [Wed, 26 Jul 2000 00:58:46 +0000 (00:58 +0000)]
remove <<<<. oops.
Robert Brady [Wed, 26 Jul 2000 00:55:42 +0000 (00:55 +0000)]
Cause GETTEXT_PACKAGE to be consistent in config.h and po/Makefile, was
2000-07-26 Robert Brady <rwb197@zepler.org>
* configure.in: Cause GETTEXT_PACKAGE to be consistent in config.h
and po/Makefile, was installing and looking for them under gtk20
and gtk2 respectively.
Havoc Pennington [Wed, 26 Jul 2000 00:32:39 +0000 (00:32 +0000)]
Comment out some stuff that depends on the rest of my patches.
2000-07-25 Havoc Pennington <hp@redhat.com>
* gtk/testtext.c: Comment out some stuff that depends on the rest
of my patches.
Havoc Pennington [Wed, 26 Jul 2000 00:02:31 +0000 (00:02 +0000)]
Add NONE:POINTER,POINTER,INT for the text buffer
2000-07-25 Havoc Pennington <hp@redhat.com>
* gtk/gtkmarshal.list: Add NONE:POINTER,POINTER,INT for the text
buffer
Havoc Pennington [Tue, 25 Jul 2000 23:59:38 +0000 (23:59 +0000)]
update to reflect text widget changes.
2000-07-25 Havoc Pennington <hp@redhat.com>
* gtk/testtext.c, gtk/testtextbuffer.c: update to reflect text
widget changes.
* gtk/gtktextview.h: To be consistent with usage of "line"
throughout the API to mean "newline-terminated thingy", change
MOVEMENT_LINE to be MOVEMENT_WRAPPED_LINE, and MOVEMENT_PARAGRAPH
to MOVEMENT_LINE.
(GtkTextView): Add flags for default editability, and whether to
show the cursor. Add functions to get/set that. Add
(gtk_text_view_get_iter_location): new function
* gtk/gtktexttypes.h: Move GtkTextLine typedef from here to
gtktextlayout.h
(g_convert): Add g_convert temporarily, will go in glib in a bit
* gtk/gtktexttagtable.h: include gtktexttag.h, and define
GtkTextTagTableForeach instead of brokenly using GHFunc.
Change gtk_text_tag_table_foreach() so it doesn't use GHFunc.
* gtk/gtktexttagprivate.h: Remove GtkTextStyleValues from here,
moved to public header.
* gtk/gtktexttag.h: Rename the "elide" attribute of tags to
"invisible", since "elide" was a bad name.
(gtk_text_tag_get_priority): Added
(GtkTextStyleValues): put this in public header, along with
functions to use it.
* gtk/gtktextmarkprivate.h: Include more headers, since we no
longer include gtktextbtree.h.
* gtk/gtktextmark.h: Add gtk_text_mark_ref, gtk_text_mark_unref,
gtk_text_mark_deleted
* gtk/gtktextlayout.h: Don't include the "really private" headers,
only buffer/iter. Forward declare GtkTextLIne and GtkTextLineData
to make this possible. Now we only need to install
gtktextlayout.h, not gtktextbtree.h and gtktext*private.h.
(However the Makefile.am isn't changed yet because of the
logistics of merging gtk-hp-patches piecemeal)
* gtk/gtktextiterprivate.h: include btree header, so it compiles;
rename gtk_text_iter_get_line to gtk_text_iter_get_text_line since
gtk_text_iter_get_line is now used in the public API for a
different purpose.
* gtk/gtktextiter.h: Clean up function names to be more
consistent. Always call char offset "offset" and byte index
"index". A "line" is always a line number.
(gtk_text_iter_is_last): new function, more efficient than
the existing way to check
(gtk_text_iter_is_first): new function, also more efficient
(gtk_text_iter_up_lines, gtk_text_iter_down_lines): Remove these
(gtk_text_iter_next_char, gtk_text_iter_prev_char): Renamed from
gtk_text_iter_forward_char, etc.
(gtk_text_iter_forward_to_tag_toggle): Renamed from
forward_find_tag_toggle, since this isn't a linear search
(GtkTextCharPredicate): rename from GtkTextViewCharPredicate
(gtk_text_iter_forward_search, gtk_text_iter_backward_search):
New functions, search for a buffer substring.
* gtk/gtktextbuffer.h: Add fields to store whether a paste is
interactive and default editable (since we need to store that info
until we receive the selection data).
Remove all the _at_char and at_line etc. versions of functions;
only have iterator versions.
Add _interactive() versions of functions, that consider the
editability of text. (FIXME add interactive flag to the
insert/delete signals per Darin's suggestion)
(gtk_text_buffer_get_tag_table): new function, demand-creates the
tag table if necessary
Remove declaration of gtk_text_buffer_get_iter_from_string
(_gtk_text_buffer_get_btree): private/internal function, added.
* gtk/gtktextbtree.h: Remove forward decl of GtkTextLineData.
(gtk_text_line_is_last): new function
Havoc Pennington [Tue, 25 Jul 2000 22:58:17 +0000 (22:58 +0000)]
Implement new sane, 5-function API for using GtkProgressBar. See
2000-07-25 Havoc Pennington <hp@redhat.com>
* gtk/gtkprogressbar.h: Implement new sane, 5-function API for
using GtkProgressBar. See Changes-2.0.txt for details.
* gtk/gtkprogressbar.c: Add object arguments "fraction" and
"pulse_step" which are the equivalent of
gtk_progress_bar_set_pulse_step and gtk_progress_bar_set_fraction.
Implement new API.
* gtk/gtkprogress.h (struct _GtkProgress): Add a field
(use_text_format) to mark whether text set on the progress bar is
a format string. Deprecate entire GtkProgress interface.
* gtk/gtkprogress.c (gtk_progress_init): init use_text_format to TRUE
(gtk_progress_build_string): make this a no-op if use_text_format
is FALSE
* docs/Changes-2.0.txt: Describe progress bar changes.
Tor Lillqvist [Tue, 25 Jul 2000 20:43:17 +0000 (20:43 +0000)]
Generate gdk/, gdk/win32/, and gtk/makefile.mingw.
* configure.in: Generate gdk/, gdk/win32/, and gtk/makefile.mingw.
Tor Lillqvist [Tue, 25 Jul 2000 20:38:35 +0000 (20:38 +0000)]
Generate gtk/makefile.mingw.
2000-07-25 Tor Lillqvist <tml@iki.fi>
* configure.in: Generate gtk/makefile.mingw.
* config.h.win32: Add GETTEXT_PACKAGE.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/gdkfont.h
* gdk/gdkpixmap.h: Remove temporary Win32-only functions, we don't
need them any longer.
* gdk/gdkinput.h: Mark gdk_core_pointer for export/import.
* gdk/win32/*.c: More work.
* gdk/win32/gdkpango-win32.c: New file.
* gtk/makefile.mingw.in: New file
* gtk/makefile.cygwin: Removed
* gtk/Makefile.am: Update accordingly.
* gtk/gtkmain.c: Use gtk_win32_get_installation_directory().
* gtk/gtktextdisplay.c: No need to include pangox.h, pango.h
is enough.
* gtk/gtktypeutils.c: Mark glib_debug_objects for import.
Tor Lillqvist [Tue, 25 Jul 2000 17:31:05 +0000 (17:31 +0000)]
Include the build directory.
2000-07-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Include the build directory.
* configure.in: Generate build/Makefile and build/win32/Makefile.
* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
PANGOWIN32_LIBS and gdk_pixbuf.
* gdk/win32: Compiles, but no doubt doesn't work at all.
* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
* gdk/win32/gdkinput.c: New file, temporarily.
* gdk/win32/gdkinput-win32.h: New file
* gdk/win32/gdkinputprivate.h: Remove.
* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
made externally visible.
Tor Lillqvist [Tue, 25 Jul 2000 17:14:16 +0000 (17:14 +0000)]
*** empty log message ***
Tor Lillqvist [Tue, 25 Jul 2000 17:12:23 +0000 (17:12 +0000)]
makefile.cygwin Renamed. Use iconv, not native2ascii.
2000-07-25 Tor Lillqvist <tml@iki.fi>
* makefile.cygwin
* makefile.mingw: Renamed. Use iconv, not native2ascii.
Elliot Lee [Mon, 24 Jul 2000 18:50:22 +0000 (18:50 +0000)]
revert
revert
Elliot Lee [Mon, 24 Jul 2000 16:19:00 +0000 (16:19 +0000)]
(Part 2) Remove gdk_*_lookup() defines, since they are defined by the
(Part 2)
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already.
* gdk/gdkregion-generic.h, gdk/gdktypes.h: Put gdkregionbox & gdksegment back together
again. Yes, there really is a good reason for this, if you are using the gdkregion
internals, and if you're not, why do you care?
* gdk/gdkwindow.c: Fix inverted condition
* gdk/linux-fb: Compiles (for me - it will not work elsewhere most likely).
* gtk/gtkcolorsel.c, gtk/gtkwindow.c: Add include for linux-fb
* gtk/gtkrange.c: Redraw trough when moving.
* gtk/gtktypeutils.c: Fix warning by adding const cast.
* modules/linux-fb/basic.c: Fix unknown glyph retrieval.
Elliot Lee [Mon, 24 Jul 2000 16:10:43 +0000 (16:10 +0000)]
Part 1 of a multipart commit
Part 1 of a multipart commit
Szabolcs BAN [Mon, 24 Jul 2000 07:36:02 +0000 (07:36 +0000)]
Updated Hungarian translations.
2000-07-24 Szabolcs BAN <shooby@gnome.hu>
* hu.po: Updated Hungarian translations.
Tor Lillqvist [Sun, 23 Jul 2000 21:43:23 +0000 (21:43 +0000)]
More work on the Win32 backend. More files compile now.
Tor Lillqvist [Sun, 23 Jul 2000 01:18:34 +0000 (01:18 +0000)]
More work on GDK for Win32. Still in an intermediate state.
2000-07-23 Tor Lillqvist <tml@iki.fi>
More work on GDK for Win32. Still in an intermediate state.
* gdk/makefile.cygwin
* gdk/win32/makefile.cygwin: Removed.
* gdk/makefile.mingw.in
* gdk/win32/makefile.mingw.in: New files.
* gdk/Makefile.am
* gdk/win32/Makefile.am: Generate and distribute them.
* gdk/win32/gdkwindow-win32.h
* gdk/win32/gdkdrawable-win32.h
* gdk/win32/gdkpixmap-win32.h: New files.
* gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkgc-win32.c
* gdk/win32/gdkimage-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
don't use fields and variables called xcursor, xid, etc (leftovers
from the X11 backend).
Tor Lillqvist [Sat, 22 Jul 2000 23:56:56 +0000 (23:56 +0000)]
Check for mkstemp and sigsetjmp. Output gdk-pixbuf/makefile.mingw and
2000-07-23 Tor Lillqvist <tml@iki.fi>
* configure.in: Check for mkstemp and sigsetjmp. Output
gdk-pixbuf/makefile.mingw and gdk-pixbuf/pixops/makefile.mingw.